all=0
for i in range(1,967):
    if i%2==1:
       all += i
    else:
       all -= i
print(f"结果为{all}")